class_docstr: a gRPC BentoServer.
      
docstr: Constructor.
  
  Args:
      channel: A grpc.Channel.
docstr_tok: ["Constructor",".","Args",":","channel",":","A","grpc.Channel","."]
code: def __init__(self, channel):
      """Constructor.
  
      Args:
          channel: A grpc.Channel.
      """
      self.Call = channel.unary_unary(
          "/bentoml.grpc.v1.BentoService/Call",
          request_serializer=bentoml_dot_grpc_dot_v1_dot_service__pb2.Request.SerializeToString,
          response_deserializer=bentoml_dot_grpc_dot_v1_dot_service__pb2.Response.FromString,
      )
      self.ServiceMetadata = channel.unary_unary(
          "/bentoml.grpc.v1.BentoService/ServiceMetadata",
          request_serializer=bentoml_dot_grpc_dot_v1_dot_service__pb2.ServiceMetadataRequest.SerializeToString,
          response_deserializer=bentoml_dot_grpc_dot_v1_dot_service__pb2.ServiceMetadataResponse.FromString,
      )
  
file_path: BentoML/grpc-client/java/src/main/proto/v1/_generated_pb3/service_pb2_grpc.py
imports: import grpc
  from bentoml.grpc.v1 import service_pb2
label_desc: Use image node_id 1 to create a new BentoServiceStub object from inherited base classes: object with example: obj = BentoServiceStub(channel)