class_docstr: SingleDocumentRequest represents a request containing only 1 document, which is used for streaming endpoints.
  Similar to DataRequest but has a `document` field instead of `data`
docstr: Transform the current buffer to a :class:`jina_pb2.DataRequestProtoWoData` unless the full proto has already
  been initialized or . Laziness will be broken and serialization will be recomputed when
  calling :meth:`SerializeToString`.
  :return: protobuf instance containing parameters
docstr_tok: ["Transform","the","current","buffer","to","a",":","class",":","`","jina_pb2.DataRequestProtoWoData","`","unless","the","full","proto","has","already","been","initialized","or",".","Laziness","will","be","broken","and","serialization","will","be","recomputed","when","calling",":","meth",":","`","SerializeToString","`",".",":","return",":","protobuf","instance","containing","parameters"]
code: def proto_wo_data(
      self,
  ) -> Union[
      "jina_pb2.DataRequestProtoWoData",
      "jina_pb2.SingleDocumentRequestProto",
  ]:
      """
      Transform the current buffer to a :class:`jina_pb2.DataRequestProtoWoData` unless the full proto has already
      been initialized or . Laziness will be broken and serialization will be recomputed when
      calling :meth:`SerializeToString`.
      :return: protobuf instance containing parameters
      """
      if self._pb_body is None:
          self._decompress_wo_data()
      return self._pb_body
  
imports: import copy
  from typing import Dict, Optional, Type, TypeVar, Union
  from google.protobuf import json_format
  from jina._docarray import DocumentArray, Document, docarray_v2
  from jina.excepts import BadRequestType
  from jina.helper import random_identity, typename
  from jina.proto import jina_pb2
  from jina.types.request import Request
label_desc: Use image node_id 7 for calling the SingleDocumentRequest obj's underlying member method code with example usage: obj.proto_wo_data() and returns: self