Class StreamsServiceGrpc.StreamsServiceFutureStub (0.8.0)

public static final class StreamsServiceGrpc.StreamsServiceFutureStub extends AbstractFutureStub<StreamsServiceGrpc.StreamsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service StreamsService.

Service describing handlers for resources. Vision API and Vision AI API are two independent APIs developed by the same team. Vision API is for people to annotate their image while Vision AI is an e2e solution for customer to build their own computer vision application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > StreamsServiceGrpc.StreamsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected StreamsServiceGrpc.StreamsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
StreamsServiceGrpc.StreamsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCluster(CreateClusterRequest request)

public ListenableFuture<Operation> createCluster(CreateClusterRequest request)

Creates a new Cluster in a given project and location.

Parameter
Name Description
request CreateClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createEvent(CreateEventRequest request)

public ListenableFuture<Operation> createEvent(CreateEventRequest request)

Creates a new Event in a given project and location.

Parameter
Name Description
request CreateEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createSeries(CreateSeriesRequest request)

public ListenableFuture<Operation> createSeries(CreateSeriesRequest request)

Creates a new Series in a given project and location.

Parameter
Name Description
request CreateSeriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createStream(CreateStreamRequest request)

public ListenableFuture<Operation> createStream(CreateStreamRequest request)

Creates a new Stream in a given project and location.

Parameter
Name Description
request CreateStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteCluster(DeleteClusterRequest request)

public ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)

Deletes a single Cluster.

Parameter
Name Description
request DeleteClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEvent(DeleteEventRequest request)

public ListenableFuture<Operation> deleteEvent(DeleteEventRequest request)

Deletes a single Event.

Parameter
Name Description
request DeleteEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSeries(DeleteSeriesRequest request)

public ListenableFuture<Operation> deleteSeries(DeleteSeriesRequest request)

Deletes a single Series.

Parameter
Name Description
request DeleteSeriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteStream(DeleteStreamRequest request)

public ListenableFuture<Operation> deleteStream(DeleteStreamRequest request)

Deletes a single Stream.

Parameter
Name Description
request DeleteStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

generateStreamHlsToken(GenerateStreamHlsTokenRequest request)

public ListenableFuture<GenerateStreamHlsTokenResponse> generateStreamHlsToken(GenerateStreamHlsTokenRequest request)

Generate the JWT auth token required to get the stream HLS contents.

Parameter
Name Description
request GenerateStreamHlsTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateStreamHlsTokenResponse>

getCluster(GetClusterRequest request)

public ListenableFuture<Cluster> getCluster(GetClusterRequest request)

Gets details of a single Cluster.

Parameter
Name Description
request GetClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Cluster>

getEvent(GetEventRequest request)

public ListenableFuture<Event> getEvent(GetEventRequest request)

Gets details of a single Event.

Parameter
Name Description
request GetEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Event>

getSeries(GetSeriesRequest request)

public ListenableFuture<Series> getSeries(GetSeriesRequest request)

Gets details of a single Series.

Parameter
Name Description
request GetSeriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Series>

getStream(GetStreamRequest request)

public ListenableFuture<Stream> getStream(GetStreamRequest request)

Gets details of a single Stream.

Parameter
Name Description
request GetStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Stream>

getStreamThumbnail(GetStreamThumbnailRequest request)

public ListenableFuture<Operation> getStreamThumbnail(GetStreamThumbnailRequest request)

Gets the thumbnail (image snapshot) of a single Stream.

Parameter
Name Description
request GetStreamThumbnailRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listClusters(ListClustersRequest request)

public ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)

Lists Clusters in a given project and location.

Parameter
Name Description
request ListClustersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListClustersResponse>

listEvents(ListEventsRequest request)

public ListenableFuture<ListEventsResponse> listEvents(ListEventsRequest request)

Lists Events in a given project and location.

Parameter
Name Description
request ListEventsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEventsResponse>

listSeries(ListSeriesRequest request)

public ListenableFuture<ListSeriesResponse> listSeries(ListSeriesRequest request)

Lists Series in a given project and location.

Parameter
Name Description
request ListSeriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSeriesResponse>

listStreams(ListStreamsRequest request)

public ListenableFuture<ListStreamsResponse> listStreams(ListStreamsRequest request)

Lists Streams in a given project and location.

Parameter
Name Description
request ListStreamsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListStreamsResponse>

materializeChannel(MaterializeChannelRequest request)

public ListenableFuture<Operation> materializeChannel(MaterializeChannelRequest request)

Materialize a channel.

Parameter
Name Description
request MaterializeChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCluster(UpdateClusterRequest request)

public ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)

Updates the parameters of a single Cluster.

Parameter
Name Description
request UpdateClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEvent(UpdateEventRequest request)

public ListenableFuture<Operation> updateEvent(UpdateEventRequest request)

Updates the parameters of a single Event.

Parameter
Name Description
request UpdateEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSeries(UpdateSeriesRequest request)

public ListenableFuture<Operation> updateSeries(UpdateSeriesRequest request)

Updates the parameters of a single Event.

Parameter
Name Description
request UpdateSeriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateStream(UpdateStreamRequest request)

public ListenableFuture<Operation> updateStream(UpdateStreamRequest request)

Updates the parameters of a single Stream.

Parameter
Name Description
request UpdateStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>