Class StreamsServiceGrpc.StreamsServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StreamsServiceGrpc.StreamsServiceBlockingV2Stub>
com.google.cloud.visionai.v1.StreamsServiceGrpc.StreamsServiceBlockingV2Stub
Enclosing class:
StreamsServiceGrpc

public static final class StreamsServiceGrpc.StreamsServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<StreamsServiceGrpc.StreamsServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.
 
  • Method Details

    • build

      protected StreamsServiceGrpc.StreamsServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<StreamsServiceGrpc.StreamsServiceBlockingV2Stub>
    • listClusters

      public ListClustersResponse listClusters(ListClustersRequest request) throws io.grpc.StatusException
       Lists Clusters in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getCluster

      public Cluster getCluster(GetClusterRequest request) throws io.grpc.StatusException
       Gets details of a single Cluster.
       
      Throws:
      io.grpc.StatusException
    • createCluster

      public Operation createCluster(CreateClusterRequest request) throws io.grpc.StatusException
       Creates a new Cluster in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateCluster

      public Operation updateCluster(UpdateClusterRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Cluster.
       
      Throws:
      io.grpc.StatusException
    • deleteCluster

      public Operation deleteCluster(DeleteClusterRequest request) throws io.grpc.StatusException
       Deletes a single Cluster.
       
      Throws:
      io.grpc.StatusException
    • listStreams

      public ListStreamsResponse listStreams(ListStreamsRequest request) throws io.grpc.StatusException
       Lists Streams in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getStream

      public Stream getStream(GetStreamRequest request) throws io.grpc.StatusException
       Gets details of a single Stream.
       
      Throws:
      io.grpc.StatusException
    • createStream

      public Operation createStream(CreateStreamRequest request) throws io.grpc.StatusException
       Creates a new Stream in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateStream

      public Operation updateStream(UpdateStreamRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Stream.
       
      Throws:
      io.grpc.StatusException
    • deleteStream

      public Operation deleteStream(DeleteStreamRequest request) throws io.grpc.StatusException
       Deletes a single Stream.
       
      Throws:
      io.grpc.StatusException
    • getStreamThumbnail

      public Operation getStreamThumbnail(GetStreamThumbnailRequest request) throws io.grpc.StatusException
       Gets the thumbnail (image snapshot) of a single Stream.
       
      Throws:
      io.grpc.StatusException
    • generateStreamHlsToken

      public GenerateStreamHlsTokenResponse generateStreamHlsToken(GenerateStreamHlsTokenRequest request) throws io.grpc.StatusException
       Generate the JWT auth token required to get the stream HLS contents.
       
      Throws:
      io.grpc.StatusException
    • listEvents

      public ListEventsResponse listEvents(ListEventsRequest request) throws io.grpc.StatusException
       Lists Events in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getEvent

      public Event getEvent(GetEventRequest request) throws io.grpc.StatusException
       Gets details of a single Event.
       
      Throws:
      io.grpc.StatusException
    • createEvent

      public Operation createEvent(CreateEventRequest request) throws io.grpc.StatusException
       Creates a new Event in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateEvent

      public Operation updateEvent(UpdateEventRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Event.
       
      Throws:
      io.grpc.StatusException
    • deleteEvent

      public Operation deleteEvent(DeleteEventRequest request) throws io.grpc.StatusException
       Deletes a single Event.
       
      Throws:
      io.grpc.StatusException
    • listSeries

      public ListSeriesResponse listSeries(ListSeriesRequest request) throws io.grpc.StatusException
       Lists Series in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getSeries

      public Series getSeries(GetSeriesRequest request) throws io.grpc.StatusException
       Gets details of a single Series.
       
      Throws:
      io.grpc.StatusException
    • createSeries

      public Operation createSeries(CreateSeriesRequest request) throws io.grpc.StatusException
       Creates a new Series in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateSeries

      public Operation updateSeries(UpdateSeriesRequest request) throws io.grpc.StatusException
       Updates the parameters of a single Event.
       
      Throws:
      io.grpc.StatusException
    • deleteSeries

      public Operation deleteSeries(DeleteSeriesRequest request) throws io.grpc.StatusException
       Deletes a single Series.
       
      Throws:
      io.grpc.StatusException
    • materializeChannel

      public Operation materializeChannel(MaterializeChannelRequest request) throws io.grpc.StatusException
       Materialize a channel.
       
      Throws:
      io.grpc.StatusException