class_docstr: ProxyRequest implementation to wrap gRPC request protobuf and metadata.
class_docstr_tok: ["ProxyRequest","implementation","to","wrap","gRPC","request","protobuf","and","metadata","."]
code: def __init__(
      self,
      request_proto: Any,
      context: grpc._cython.cygrpc._ServicerContext,
      service_method: str,
      stream: bool,
  ):
      self.request = request_proto
      self.context = context
      self.service_method = service_method
      self.stream = stream
      self.app_name = ""
      self.request_id = None
      self.method_name = "__call__"
      self.multiplexed_model_id = DEFAULT.VALUE
      # ray_serve_grpc_context is a class implemented by us to be able to serialize
      # the object and pass it into the deployment.
      self.ray_serve_grpc_context = RayServegRPCContext(context)
      self.setup_variables()
  
imports: import logging
  import pickle
  from abc import ABC, abstractmethod
  from dataclasses import dataclass
  from typing import Any, AsyncIterator, List, Tuple, Union
  import grpc
  from starlette.types import Receive, Scope, Send
  from ray.actor import ActorHandle
  from ray.serve._private.common import StreamingHTTPRequest, gRPCRequest
  from ray.serve._private.constants import SERVE_LOGGER_NAME
  from ray.serve._private.utils import DEFAULT
  from ray.serve.grpc_util import RayServegRPCContext
label_desc: Use image node_id 1 to create a new gRPCProxyRequest object from inherited base classes: ProxyRequest with example: obj = gRPCProxyRequest(request_proto, context, service_method, stream)