Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
odigos / etc / odigos-vmagent / instrumentations / python / google / protobuf / __pycache__ / proto.cpython-311.pyc
Size: Mime:
§

QÄg¬
ãóޗdZddlZddlmZmZddlmZddlmZddlm	Z	edd¬	¦«Z
dd
e
dedefd
„Z
dee
dede
fd„Zd
e
dejddfd„Zdee
dejde
fd„ZdS)z,Contains the Nextgen Pythonic protobuf APIs.éN)ÚTypeÚTypeVar)Údecoder)Úencoder)ÚMessageÚ_MESSAGEr)ÚboundÚmessageÚ
deterministicÚreturncó.—| |¬¦«S)aReturn the serialized proto.

  Args:
    message: The proto message to be serialized.
    deterministic: If true, requests deterministic serialization
        of the protobuf, with predictable ordering of map keys.

  Returns:
    A binary bytes representation of the message.
  )r)ÚSerializeToString)r
rs  ú</tmp/pip-target-0z7lll2b/lib/python/google/protobuf/proto.pyÚ	serializers€ð
×	"Ò	"°Ð	"Ñ	?Ô	?Ð?óÚ
message_classÚpayloadcóD—|¦«}| |¦«|S)zæGiven a serialized data in binary form, deserialize it into a Message.

  Args:
    message_class: The message meta class.
    payload: A serialized bytes in binary form.

  Returns:
    A new message deserialized from payload.
  )ÚParseFromString)rrÚnew_messages   rÚparser"s)€ð
‘”€+Ø
×Ò˜gÑ&Ô&Ð&Ø	ÐrÚoutputcóê—| ¦«}tj¦«|j|¦«| t	|¦«¦«}||krtd||fz¦«‚dS)a¢Writes the size of the message as a varint and the serialized message.

  Writes the size of the message as a varint and then the serialized message.
  This allows more data to be written to the output after the message. Use
  parse_length_prefixed to parse messages written by this method.

  The output stream must be buffered, e.g. using
  https://docs.python.org/3/library/io.html#buffered-streams.

  Example usage:
    out = io.BytesIO()
    for msg in message_list:
      proto.serialize_length_prefixed(msg, out)

  Args:
    message: The protocol buffer message that should be serialized.
    output: BytesIO or custom buffered IO that data should be written to.
  z_Failed to write complete message (wrote: %d, expected: %d). Ensure output is using buffered IO.N)ÚByteSizerÚ_VarintEncoderÚwriterÚ	TypeError)r
rÚsizeÚout_sizes    rÚserialize_length_prefixedr 1sƒ€ð&
×	Ò	Ñ	Ô	€$Ø…'ÔÑÔ˜6œ<¨Ñ.Ô.Ð.Ø
\Š\) GÑ,Ô,Ñ
-Ô
-€(à
ÒÐÝ
ð	0Ø3;¸TÐ2Bñ	CñôððÐrÚinput_bytescó—tj|¦«}|€dS|¦«}|dkr|S| | |¦«¦«}||kr.t	d |||jj¦«¦«‚|S)a‚Parse a message from input_bytes.

  Args:
    message_class: The protocol buffer message class that parser should parse.
    input_bytes: A buffered input.

  Example usage:
    while True:
      msg = proto.parse_length_prefixed(message_class, input_bytes)
      if msg is None:
        break
      ...

  Returns:
    A parsed message if successful. None if input_bytes is at EOF.
  NrzdTruncated message or non-buffered input_bytes: Expected {0} bytes but only {1} bytes parsed for {2}.)rÚ
_DecodeVarintrÚreadÚ
ValueErrorÚformatÚ
DESCRIPTORÚname)rr!rr
Úparsed_sizes     rÚparse_length_prefixedr*Osš€õ&
Ô	˜{Ñ	+Ô	+€$Ø	€\ðˆ4àˆM‰OŒO€'à	ˆQ‚Y€YØ€Nà×'Ò'¨×(8Ò(8¸Ñ(>Ô(>Ñ?Ô?€+ؐDÒÐÝ
ð	çŠvd˜K¨Ô);Ô)@ÑAÔAñôðð

€.r)N)Ú__doc__ÚioÚtypingrrÚgoogle.protobuf.internalrrÚgoogle.protobuf.messagerrÚboolÚbytesrrÚBytesIOr r*©rrú<module>r4sBðð3Ð2à	€	€	€	Ø Ð Ð Ð Ð Ð Ð Ð à,Ð,Ð,Ð,Ð,Ð,Ø,Ð,Ð,Ð,Ð,Ð,Ø+Ð+Ð+Ð+Ð+Ð+àˆ7: YÐ/Ñ/Ô/€ð@ð@xð@°ð@Àð@ð@ð@ð@ð˜˜hœð°%ð¸Hððððð xð¸¼ðÈððððð<%ؘ”>ð%Ø02´
ð%à
ð%ð%ð%ð%ð%ð%r