Interface StreamsServiceGrpc.AsyncService (0.8.0)

public static interface StreamsServiceGrpc.AsyncService

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.

Methods

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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>