dtcc.Grid.from_proto(pb: Geometry | bytes)[source] Initialize Grid from a protobuf representation. Parameters:¶ pb : Union[proto.Geometry, bytes]¶The protobuf message or its serialized bytes representation.