Class ByteStreamGrpc.ByteStreamImplBase

java.lang.Object
com.google.bytestream.ByteStreamGrpc.ByteStreamImplBase
All Implemented Interfaces:
ByteStreamGrpc.AsyncService, io.grpc.BindableService
Enclosing class:
ByteStreamGrpc

public abstract static class ByteStreamGrpc.ByteStreamImplBase extends Object implements io.grpc.BindableService, ByteStreamGrpc.AsyncService
Base class for the server implementation of the service ByteStream.
 #### Introduction
 The Byte Stream API enables a client to read and write a stream of bytes to
 and from a resource. Resources have names, and these names are supplied in
 the API calls below to identify the resource that is being read from or
 written to.
 All implementations of the Byte Stream API export the interface defined here:
 * `Read()`: Reads the contents of a resource.
 * `Write()`: Writes the contents of a resource. The client can call `Write()`
   multiple times with the same resource and can check the status of the write
   by calling `QueryWriteStatus()`.
 #### Service parameters and metadata
 The ByteStream API provides no direct way to access/modify any metadata
 associated with the resource.
 #### Errors
 The errors returned by the service are in the Google canonical error space.
 
  • Constructor Details

    • ByteStreamImplBase

      public ByteStreamImplBase()
  • Method Details

    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService