We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48ed9ad commit bc8edf7Copy full SHA for bc8edf7
1 file changed
sdks/python/apache_beam/coders/coder_impl.py
@@ -316,9 +316,6 @@ def decode(self, encoded):
316
proto_message.ParseFromString(encoded) # This is in effect "ParsePartial".
317
return proto_message
318
319
- def estimate_size(self, value, nested=False):
320
- return self._get_nested_size(value.ByteSize(), nested)
321
-
322
323
class DeterministicProtoCoderImpl(ProtoCoderImpl):
324
"""For internal use only; no backwards-compatibility guarantees."""
@@ -338,9 +335,6 @@ def encode(self, value):
338
335
def decode(self, value):
339
336
return self.proto_plus_type.deserialize(value)
340
337
341
342
- return self._get_nested_size(type(value).pb(value).ByteSize(), nested)
343
344
345
UNKNOWN_TYPE = 0xFF
346
NONE_TYPE = 0
0 commit comments