Class StreamsServiceGrpc.StreamsServiceStub (0.2.0)

public static final class StreamsServiceGrpc.StreamsServiceStub extends AbstractAsyncStub<StreamsServiceGrpc.StreamsServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > StreamsServiceGrpc.StreamsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new Cluster in a given project and location.

Parameters
Name Description
request CreateClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createEvent(CreateEventRequest request, StreamObserver<Operation> responseObserver)

public void createEvent(CreateEventRequest request, StreamObserver<Operation> responseObserver)

Creates a new Event in a given project and location.

Parameters
Name Description
request CreateEventRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createSeries(CreateSeriesRequest request, StreamObserver<Operation> responseObserver)

public void createSeries(CreateSeriesRequest request, StreamObserver<Operation> responseObserver)

Creates a new Series in a given project and location.

Parameters
Name Description
request CreateSeriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

public void createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

Creates a new Stream in a given project and location.

Parameters
Name Description
request CreateStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Cluster.

Parameters
Name Description
request DeleteClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEvent(DeleteEventRequest request, StreamObserver<Operation> responseObserver)

public void deleteEvent(DeleteEventRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Event.

Parameters
Name Description
request DeleteEventRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteSeries(DeleteSeriesRequest request, StreamObserver<Operation> responseObserver)

public void deleteSeries(DeleteSeriesRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Series.

Parameters
Name Description
request DeleteSeriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

public void deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Stream.

Parameters
Name Description
request DeleteStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

generateStreamHlsToken(GenerateStreamHlsTokenRequest request, StreamObserver<GenerateStreamHlsTokenResponse> responseObserver)

public void generateStreamHlsToken(GenerateStreamHlsTokenRequest request, StreamObserver<GenerateStreamHlsTokenResponse> responseObserver)

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

Parameters
Name Description
request GenerateStreamHlsTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateStreamHlsTokenResponse>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets details of a single Cluster.

Parameters
Name Description
request GetClusterRequest
responseObserver io.grpc.stub.StreamObserver<Cluster>

getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

public void getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

Gets details of a single Event.

Parameters
Name Description
request GetEventRequest
responseObserver io.grpc.stub.StreamObserver<Event>

getSeries(GetSeriesRequest request, StreamObserver<Series> responseObserver)

public void getSeries(GetSeriesRequest request, StreamObserver<Series> responseObserver)

Gets details of a single Series.

Parameters
Name Description
request GetSeriesRequest
responseObserver io.grpc.stub.StreamObserver<Series>

getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

public void getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

Gets details of a single Stream.

Parameters
Name Description
request GetStreamRequest
responseObserver io.grpc.stub.StreamObserver<Stream>

getStreamThumbnail(GetStreamThumbnailRequest request, StreamObserver<Operation> responseObserver)

public void getStreamThumbnail(GetStreamThumbnailRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request GetStreamThumbnailRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists Clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListClustersResponse>

listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

public void listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

Lists Events in a given project and location.

Parameters
Name Description
request ListEventsRequest
responseObserver io.grpc.stub.StreamObserver<ListEventsResponse>

listSeries(ListSeriesRequest request, StreamObserver<ListSeriesResponse> responseObserver)

public void listSeries(ListSeriesRequest request, StreamObserver<ListSeriesResponse> responseObserver)

Lists Series in a given project and location.

Parameters
Name Description
request ListSeriesRequest
responseObserver io.grpc.stub.StreamObserver<ListSeriesResponse>

listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

public void listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

Lists Streams in a given project and location.

Parameters
Name Description
request ListStreamsRequest
responseObserver io.grpc.stub.StreamObserver<ListStreamsResponse>

materializeChannel(MaterializeChannelRequest request, StreamObserver<Operation> responseObserver)

public void materializeChannel(MaterializeChannelRequest request, StreamObserver<Operation> responseObserver)

Materialize a channel.

Parameters
Name Description
request MaterializeChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Cluster.

Parameters
Name Description
request UpdateClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEvent(UpdateEventRequest request, StreamObserver<Operation> responseObserver)

public void updateEvent(UpdateEventRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Event.

Parameters
Name Description
request UpdateEventRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateSeries(UpdateSeriesRequest request, StreamObserver<Operation> responseObserver)

public void updateSeries(UpdateSeriesRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Event.

Parameters
Name Description
request UpdateSeriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

public void updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Stream.

Parameters
Name Description
request UpdateStreamRequest
responseObserver io.grpc.stub.StreamObserver<Operation>