code: func (txPvtRwSet *TxPvtRwSet) FromProtoBytes(protoBytes []byte) error {
  	protoMsg := &rwset.TxPvtReadWriteSet{}
  	var err error
  	var txPvtRwSetTemp *TxPvtRwSet
  	if err = proto.Unmarshal(protoBytes, protoMsg); err != nil {
  		return err
  	}
  	if txPvtRwSetTemp, err = TxPvtRwSetFromProtoMsg(protoMsg); err != nil {
  		return err
  	}
  	txPvtRwSet.NsPvtRwSet = txPvtRwSetTemp.NsPvtRwSet
  	return nil
  }
docs: // FromProtoBytes deserializes protobytes into 'TxPvtReadWriteSet' proto message and populates 'TxPvtRwSet'