dtcc.Geometry.from_proto(pb: Geometry | bytes)[source]

Initialize Geometry from a protobuf representation.

Parameters:
pb : Union[proto.Geometry, bytes]

The protobuf message or its serialized bytes representation.