Class GrpcStreamsServiceStub (0.6.0)

public class GrpcStreamsServiceStub extends StreamsServiceStub

gRPC stub implementation for the StreamsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > StreamsServiceStub > GrpcStreamsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcStreamsServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcStreamsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcStreamsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcStreamsServiceStub
Exceptions
Type Description
IOException

create(StreamsServiceStubSettings settings)

public static final GrpcStreamsServiceStub create(StreamsServiceStubSettings settings)
Parameter
Name Description
settings StreamsServiceStubSettings
Returns
Type Description
GrpcStreamsServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext)

protected GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcStreamsServiceStub, 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

GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcStreamsServiceStub, 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 GrpcStubCallableFactory

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()
Overrides

createClusterCallable()

public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns
Type Description
UnaryCallable<CreateClusterRequest,Operation>
Overrides

createClusterOperationCallable()

public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Returns
Type Description
OperationCallable<CreateClusterRequest,Cluster,OperationMetadata>
Overrides

createEventCallable()

public UnaryCallable<CreateEventRequest,Operation> createEventCallable()
Returns
Type Description
UnaryCallable<CreateEventRequest,Operation>
Overrides

createEventOperationCallable()

public OperationCallable<CreateEventRequest,Event,OperationMetadata> createEventOperationCallable()
Returns
Type Description
OperationCallable<CreateEventRequest,Event,OperationMetadata>
Overrides

createSeriesCallable()

public UnaryCallable<CreateSeriesRequest,Operation> createSeriesCallable()
Returns
Type Description
UnaryCallable<CreateSeriesRequest,Operation>
Overrides

createSeriesOperationCallable()

public OperationCallable<CreateSeriesRequest,Series,OperationMetadata> createSeriesOperationCallable()
Returns
Type Description
OperationCallable<CreateSeriesRequest,Series,OperationMetadata>
Overrides

createStreamCallable()

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

createStreamOperationCallable()

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

deleteClusterCallable()

public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns
Type Description
UnaryCallable<DeleteClusterRequest,Operation>
Overrides

deleteClusterOperationCallable()

public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Returns
Type Description
OperationCallable<DeleteClusterRequest,Empty,OperationMetadata>
Overrides

deleteEventCallable()

public UnaryCallable<DeleteEventRequest,Operation> deleteEventCallable()
Returns
Type Description
UnaryCallable<DeleteEventRequest,Operation>
Overrides

deleteEventOperationCallable()

public OperationCallable<DeleteEventRequest,Empty,OperationMetadata> deleteEventOperationCallable()
Returns
Type Description
OperationCallable<DeleteEventRequest,Empty,OperationMetadata>
Overrides

deleteSeriesCallable()

public UnaryCallable<DeleteSeriesRequest,Operation> deleteSeriesCallable()
Returns
Type Description
UnaryCallable<DeleteSeriesRequest,Operation>
Overrides

deleteSeriesOperationCallable()

public OperationCallable<DeleteSeriesRequest,Empty,OperationMetadata> deleteSeriesOperationCallable()
Returns
Type Description
OperationCallable<DeleteSeriesRequest,Empty,OperationMetadata>
Overrides

deleteStreamCallable()

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

deleteStreamOperationCallable()

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

generateStreamHlsTokenCallable()

public UnaryCallable<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse> generateStreamHlsTokenCallable()
Returns
Type Description
UnaryCallable<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse>
Overrides

getClusterCallable()

public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns
Type Description
UnaryCallable<GetClusterRequest,Cluster>
Overrides

getEventCallable()

public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns
Type Description
UnaryCallable<GetEventRequest,Event>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSeriesCallable()

public UnaryCallable<GetSeriesRequest,Series> getSeriesCallable()
Returns
Type Description
UnaryCallable<GetSeriesRequest,Series>
Overrides

getStreamCallable()

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

getStreamThumbnailCallable()

public UnaryCallable<GetStreamThumbnailRequest,Operation> getStreamThumbnailCallable()
Returns
Type Description
UnaryCallable<GetStreamThumbnailRequest,Operation>
Overrides

getStreamThumbnailOperationCallable()

public OperationCallable<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata> getStreamThumbnailOperationCallable()
Returns
Type Description
OperationCallable<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata>
Overrides

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>
Overrides

listClustersPagedCallable()

public UnaryCallable<ListClustersRequest,StreamsServiceClient.ListClustersPagedResponse> listClustersPagedCallable()
Returns
Type Description
UnaryCallable<ListClustersRequest,ListClustersPagedResponse>
Overrides

listEventsCallable()

public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns
Type Description
UnaryCallable<ListEventsRequest,ListEventsResponse>
Overrides

listEventsPagedCallable()

public UnaryCallable<ListEventsRequest,StreamsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns
Type Description
UnaryCallable<ListEventsRequest,ListEventsPagedResponse>
Overrides

listSeriesCallable()

public UnaryCallable<ListSeriesRequest,ListSeriesResponse> listSeriesCallable()
Returns
Type Description
UnaryCallable<ListSeriesRequest,ListSeriesResponse>
Overrides

listSeriesPagedCallable()

public UnaryCallable<ListSeriesRequest,StreamsServiceClient.ListSeriesPagedResponse> listSeriesPagedCallable()
Returns
Type Description
UnaryCallable<ListSeriesRequest,ListSeriesPagedResponse>
Overrides

listStreamsCallable()

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

listStreamsPagedCallable()

public UnaryCallable<ListStreamsRequest,StreamsServiceClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns
Type Description
UnaryCallable<ListStreamsRequest,ListStreamsPagedResponse>
Overrides

materializeChannelCallable()

public UnaryCallable<MaterializeChannelRequest,Operation> materializeChannelCallable()
Returns
Type Description
UnaryCallable<MaterializeChannelRequest,Operation>
Overrides

materializeChannelOperationCallable()

public OperationCallable<MaterializeChannelRequest,Channel,OperationMetadata> materializeChannelOperationCallable()
Returns
Type Description
OperationCallable<MaterializeChannelRequest,Channel,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateClusterCallable()

public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns
Type Description
UnaryCallable<UpdateClusterRequest,Operation>
Overrides

updateClusterOperationCallable()

public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Returns
Type Description
OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata>
Overrides

updateEventCallable()

public UnaryCallable<UpdateEventRequest,Operation> updateEventCallable()
Returns
Type Description
UnaryCallable<UpdateEventRequest,Operation>
Overrides

updateEventOperationCallable()

public OperationCallable<UpdateEventRequest,Event,OperationMetadata> updateEventOperationCallable()
Returns
Type Description
OperationCallable<UpdateEventRequest,Event,OperationMetadata>
Overrides

updateSeriesCallable()

public UnaryCallable<UpdateSeriesRequest,Operation> updateSeriesCallable()
Returns
Type Description
UnaryCallable<UpdateSeriesRequest,Operation>
Overrides

updateSeriesOperationCallable()

public OperationCallable<UpdateSeriesRequest,Series,OperationMetadata> updateSeriesOperationCallable()
Returns
Type Description
OperationCallable<UpdateSeriesRequest,Series,OperationMetadata>
Overrides

updateStreamCallable()

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

updateStreamOperationCallable()

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