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

Initialize Building from a protobuf representation.

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

The protobuf message or its serialized bytes representation.